<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <title>HelloWorld</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/index.css">
</head>
<body>

<div class="main">
    <img class="logo" src="${pageContext.request.contextPath}/images/public/logo-black.png" alt="">
    <table cellspacing="10" class="home">
        <tr>
            <td>
                <a data-target="${pageContext.request.contextPath}/choose">刷题</a>
            </td>
            <td>
                <a data-target="${pageContext.request.contextPath}/program">在线编程</a>
            </td>
        </tr>
        <tr>
            <td>
                <a data-target="${pageContext.request.contextPath}/competitionPage">知识竞赛</a>
            </td>
            <td>
                <a data-target="${pageContext.request.contextPath}/dynamic">动态</a>
            </td>
        </tr>
        <c:if test="${sessionScope.loginCustomer==null}">
            <tr>
                <td>
                    <a data-target="${pageContext.request.contextPath}/login">登录</a>
                </td>
            </tr>
        </c:if>
    </table>
</div>

<canvas id="c"></canvas>

<script src="${pageContext.request.contextPath}/js/index.js"></script>
</body>
</html>
